package cn.kgc.springday04.servlet;

import cn.kgc.springday04.service.UserService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * @author 课工场
 * @date 2023/10/9
 * @description
 */
@Controller
public class UserServlet {

    @Resource
    private UserService userService;


    public boolean  delete(Integer id){

        return   userService.delete(id);
    }

}
